package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 绩效工资风控明细管理
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_WAGE_DETAIL")
public class IgWageDetail extends Model<IgWageDetail> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("WAGE_DETAIL_ID")
    private String wageDetailId;

    /**
     * 绩效工资主表主键
     */
    @TableField("WAGE_MANAGE_ID")
    private String wageManageId;

    /**
     * 部门名称
     */
    @TableField("DEPT_NAME")
    private String deptName;

    /**
     * 项目负责人ID
     */
    @TableField("DEPT_ID")
    private String deptId;

    /**
     * 绩效工资类型
     */
    @TableField("WAGE_TYPE")
    private Integer wageType;

    /**
     * 是否完成
     */
    @TableField("IS_FINISH")
    private Integer isFinish;

    /**
     * 操作人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 操作时间
     */
    @TableField("CREATE_DATE")
    private LocalDateTime createDate;


    public String getWageDetailId() {
        return wageDetailId;
    }

    public IgWageDetail setWageDetailId(String wageDetailId) {
        this.wageDetailId = wageDetailId;
        return this;
    }

    public String getWageManageId() {
        return wageManageId;
    }

    public IgWageDetail setWageManageId(String wageManageId) {
        this.wageManageId = wageManageId;
        return this;
    }

    public String getDeptName() {
        return deptName;
    }

    public IgWageDetail setDeptName(String deptName) {
        this.deptName = deptName;
        return this;
    }

    public String getDeptId() {
        return deptId;
    }

    public IgWageDetail setDeptId(String deptId) {
        this.deptId = deptId;
        return this;
    }

    public Integer getWageType() {
        return wageType;
    }

    public IgWageDetail setWageType(Integer wageType) {
        this.wageType = wageType;
        return this;
    }

    public Integer getIsFinish() {
        return isFinish;
    }

    public IgWageDetail setIsFinish(Integer isFinish) {
        this.isFinish = isFinish;
        return this;
    }

    public String getCreateOp() {
        return createOp;
    }

    public IgWageDetail setCreateOp(String createOp) {
        this.createOp = createOp;
        return this;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public IgWageDetail setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.wageDetailId;
    }

    @Override
    public String toString() {
        return "IgWageDetail{" +
        "wageDetailId=" + wageDetailId +
        ", wageManageId=" + wageManageId +
        ", deptName=" + deptName +
        ", deptId=" + deptId +
        ", wageType=" + wageType +
        ", isFinish=" + isFinish +
        ", createOp=" + createOp +
        ", createDate=" + createDate +
        "}";
    }
}
